// BookQueryResultDlg.cpp : implementation file
//

#include "stdafx.h"
#include "library.h"
#include "BookQueryResultDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CBookQueryResultDlg dialog


CBookQueryResultDlg::CBookQueryResultDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CBookQueryResultDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CBookQueryResultDlg)
	m_strID = _T("");
	m_strISBN = _T("");
	m_strName = _T("");
	m_strPress = _T("");
	m_strState = _T("");
	m_strAuthor = _T("");
	//}}AFX_DATA_INIT
}


void CBookQueryResultDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CBookQueryResultDlg)
	DDX_Text(pDX, IDC_BOOK_QUERY_RESULT_ID, m_strID);
	DDX_Text(pDX, IDC_BOOK_QUERY_RESULT_ISBN, m_strISBN);
	DDX_Text(pDX, IDC_BOOK_QUERY_RESULT_NAME, m_strName);
	DDX_Text(pDX, IDC_BOOK_QUERY_RESULT_PRESS, m_strPress);
	DDX_Text(pDX, IDC_BOOK_QUERY_RESULT_STATE, m_strState);
	DDX_Text(pDX, IDC_BOOK_QUERY_RESULT_AUTHOR, m_strAuthor);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CBookQueryResultDlg, CDialog)
	//{{AFX_MSG_MAP(CBookQueryResultDlg)
	ON_BN_CLICKED(IDC_BOOK_QUERU_RESULT_OK_BUTTON, OnBookQueruResultOkButton)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CBookQueryResultDlg message handlers

void CBookQueryResultDlg::OnBookQueruResultOkButton() 
{
	// TODO: Add your control notification handler code here
	CDialog::OnOK();
}
